import { AnimationClip } from "cc";
import { StateMachine } from "../../Base/StateMachine";
import { PARAMS_NAME_ENUM, SPIKE_COUNT_ENUM, SPIKEC_COUNT_MAP_NUMBER_CNUM } from "../../Enums";
import State from "../../Base/State";
import SpikesSubStateMachine from "./SpikesSubStateMachine";



const BASE_URL = "texture/spikes/spikestwo"

export default class SpikesTwoSubStateMachine extends SpikesSubStateMachine {
    constructor(fsm: StateMachine) {
        super(fsm)
        this.stateMachines.set(
            SPIKE_COUNT_ENUM.ZERO,
            new State(fsm, `${BASE_URL}/zero`))
        this.stateMachines.set(
            SPIKE_COUNT_ENUM.ONE,
            new State(fsm, `${BASE_URL}/one`))
        this.stateMachines.set(
            SPIKE_COUNT_ENUM.TWO,
            new State(fsm, `${BASE_URL}/two`))
        this.stateMachines.set(
            SPIKE_COUNT_ENUM.THREE,
            new State(fsm, `${BASE_URL}/three`))
    }
}